<?php

namespace App\Http\Controllers\Api\Website;

use App\About;
use App\Http\Resources\AboutResource;
use Illuminate\Http\Request;
use App\Http\Controllers\Controller;

class AboutController extends Controller
{
    public function index(){
       $about= About::firstOrFail();
       return new AboutResource($about);
    }
}
